<%@ include file="/WEB-INF/views/public/include.jsp"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<!-- 页面编码 -->
	<meta charset="utf-8">
  	<!-- 手机浏览器禁止缩放, 页面大小默认为手机屏幕宽度 -->
  	<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
  	<!-- 允许IOS全屏显示网页 -->
  	<meta content="yes" name="apple-mobile-web-app-capable" />
  	<!-- 设置IOS状态栏为透明底色 -->
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
	<!-- 设置360浏览器渲染引擎为webkit -->
  	<meta name="renderer" content="webkit">
  	<!-- 设置APP标题 -->
  	<meta name="apple-mobile-web-app-title" content="青年电影志">
  	<!-- 关闭自动识别电话号码 -->
  	<meta name="format-detection" content="telephone=no">
	<!-- iPhone桌面图标 -->
	<link href="/resources/static/images/app-60@2x.png" sizes="120x120" rel="apple-touch-icon-precomposed">
  	<!-- 页面标题 -->
  	<title>审核申请</title>

  	<!-- 基本样式载入 -->
  	<link rel="stylesheet" href="/resources/static/css/ionicons.min.css">
	<link rel="stylesheet" href="/resources/static/css/public.css">
	<!-- 基本脚本载入 -->
	<script src="/resources/static/js/plugins.min.js"></script>
</head>
<body>
	<div id="app" class="site" data-controller="reviewApplyPage">
		<div class="bar bar-footer bar-primary">
			<nav class="bar-navigation">
				<a class="menu-item" href="/main/index">
					<i class="menu-icon ico-home"></i>
					<span class="menu-label">首页</span>
				</a>
				<a class="menu-item" href="/main/discovery">
					<i class="menu-icon ico-discovery"></i>
					<span class="menu-label">发现</span>
				</a>
				<a class="menu-item is-active" href="/main/user/index">
					<i class="menu-icon ico-me"></i>
					<span class="menu-label">我的</span>
				</a>
			</nav>
			<!-- END .bar-navigation -->
		</div>
		<div id="content" class="site-content">
			<div class="inner">
				<div class="wizard-form">
					<div class="wizard-step is-active">
						<div class="form-group">
							<label class="control-label">个人姓名</label>
							<div class="desc-content">
								${application.realName}
							</div>
						</div>
						<div class="form-group">
							<label class="control-label">自我介绍</label>
							<div class="desc-content">
								${application.instruction}
							</div>
						</div>
						<!-- END .form-group -->
						<div class="form-group">
							<label class="control-label">想聊什么</label>
							<div class="desc-content">
								${application.chatContent}
							</div>
						</div>
						<!-- END .form-group -->
						<div class="form-group">
							<label class="control-label">平时活动区域</label>
							<div class="desc-content">
								${application.region}
							</div>
						</div>
						<!-- END .form-group -->
						<div class="form-group">
							<label class="control-label">未来两周方便见面时间</label>
							<div class="desc-content">
								${application.dateTime}
							</div>
						</div>
						<div class="form-group">
							<label class="control-label">推荐人</label>
							<div class="desc-content">
								${application.presenter}
							</div>
						</div>
						<div class="form-group">
							<label class="control-label">联系方式</label>
									<div class="desc-content">
											手机号：${application.phone}
									</div>
									<div class="desc-content">
											微信号：${application.weixin}
									</div>
						</div>
						<div class="form-group">
							<label class="control-label">申请状态</label>
							<c:choose>
								<c:when test="${application.status == 0}">
									<%-- 等待处理 --%>
									<div class="desc-content">
										<p>还未支付哦~</p>
									</div>
								</c:when>

								<c:when test="${application.status == 1}">
									<%-- 已通过 --%>
									<div class="desc-content">
										<p>等待对方处理~</p>
									</div>
								</c:when>

								<c:when test="${application.status == 2}">
									<%-- 已通过 --%>
									<div class="desc-content">
										<p>对方已经通过，等待双方评价~</p>
									</div>
								</c:when>

								<c:when test="${application.status == 3 || application.status == 4}">
									<%-- 已通过 --%>
									<div class="desc-content">
										<p>对方已经通过，双方已评价~</p>
									</div>
								</c:when>

								<c:when test="${application.status < 0}">
									<%-- 已拒绝 --%>
									<div class="desc-content">
										<p>对方拒绝了您的申请，看看是不是没有描述清楚呢？</p>
									</div>
									<div class="desc-content">
										<p>${application.reason}</p>
									</div>
								</c:when>
								<c:otherwise></c:otherwise>
							</c:choose>
						</div>
						<!-- END .form-group -->
					</div>
					<!-- END .wizard-step -->
				</div>
				<!-- END .wizard-form -->
			</div>
			<!-- END .inner -->
		</div>
		<!-- END #content -->
	</div>
	<!-- END #page -->
	<div class="form-modal js-form-modal">
		<form action="" class="wizard-form">
			<div class="wizard-step is-active">
				<div class="form-group">
					<label class="control-label">想说的话</label>
					<textarea name="" id="" cols="30" rows="10" class="form-control js-required" placeholder="请把你想说的话写在这里吧~"></textarea>
				</div>
				<!-- END .form-group -->
				<div class="tc clearfix">
					<button type="submit" class="btn btn-primary btn-submit">同意申请</button>
					<button type="button" class="btn btn default btn-cancel">拒绝申请</button>
				</div>
			</div>
			<!-- END .wizard-step -->
		</form>
		<!-- END .wizard-form -->
	</div>
	<!-- END .form-modal -->
	<!-- 页面脚本载入 -->
	<script src="/resources/static/js/app.js"></script>
</body>
</html>